package com.dk.task;

/**
 * 线程的实现方式一 继承Thread类重写run()
 */
public class MyThread01 extends Thread {

    @Override
    public void run() {
        for (int i = 1; i <= 100; i++) {
            System.out.println(super.getName() + "=" + i);
        }
    }
}
